#include "stdio.h"
#include "main.h"
#include "uart.h"
#include "key.h"
#include "int.h"

int main(void)
{
	uart_init();
	uart2_init();

	tester_key_int();
	printf("----------Key Interrupt Test----------\n\r");
	uart2_printf("----------Key Interrupt Test----------\n\r");

	// 加个心跳包
	while(1)
	{
		static unsigned int count = 0;
		printf("Running , count : %d.\n\r", count);
		uart2_printf("Running , count : %d.\n\r", count);
		count++;
		delay(9000000);
	}
	
	return 0;
}
